﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GuiaVinum.Model;

namespace GuiaVinum.Repository
{
    public class VinoRepository:RepositoryBase<GuiaVinumDb>
    {
        
        public IQueryable<Vino> GetVinos()
        {
            using(DataContext)
            {
                return this.GetList<Vino>();
            }
        }

    }
}
